package com.example.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class EmployeeDTO implements Serializable {

        private Long id;

        private String name;

        private String username;

        private String password;

        private String phone;

        private String sex;

        private String idNumber; //身份证号

        //@JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
        private LocalDateTime createTime;

        //@JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
        private LocalDateTime updateTime;

        private Integer status;

    }

